package com.ask.service;

import com.ask.dto.QuestionParam;
import com.ask.model.Question;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 问题Service接口
 */
public interface QuestionService {
    /**
     * 提问
     */
    Question ask(QuestionParam questionParam);

    Question update(QuestionParam questionParam);
}

